package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Category;
import com.itheima.reggie.domain.Dish;

import java.util.List;

public interface DishService {
    Page findByLimit(Integer pageNum, Integer pageSize, String name);

    void save(Dish dish);

    Dish findById(Long dishId);

    void update(Dish dish);

    void updateStatus(Integer status, List<Long> ids);

    void deleteById(List<Long> ids);

    List<Dish> list(Long id, Integer status);
}
